<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta content="text/html;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	<meta http-equiv ="Pragma" content = "no-cache"/>
	<meta http-equiv="Cache-Control" content="no cache" />
	<meta http-equiv="Expires" content="0" />
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="format-detection" content="telephone=no"/>
	<link href="../../plugins/pace/themes/pink/pace-theme-flash.css" rel="stylesheet"/>
	<script src="../../plugins/pace/pace.min.js"></script>
	<link href="../../plugins/contextMenu/jquery.contextMenu.min.css" rel="stylesheet"/>
	<link href="../../plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
	<link rel="stylesheet" href="../../plugins/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css"/>
	<link href="../../plugins/toastr/toastr.min.css" rel="stylesheet"/>
	<link rel="stylesheet" type="text/css" href="../../plugins/layui/css/layui.css" media="all"/>
	<script type="text/javascript" src="../../plugins/jquery/jquery.min.js"></script>
	<script type="text/javascript" src="../../plugins/encrypt/jsencrypt.min.js"></script>
	<script src="../../plugins/contextMenu/jquery.contextMenu.min.js"></script>
	<script type="text/javascript" src="../../plugins/ztree/js/jquery.ztree.all.min.js"></script>
	<script src="../../plugins/toastr/toastr.min.js"></script>
	<script src="../../plugins/echarts/echarts.min.js"></script>
	<link rel="stylesheet" type="text/css" href="../../css/fs.css?v=2.0.0" media="all"/>
	<script type="text/javascript" src="../../plugins/layui/layui.js"></script>
  <script type="text/javascript" src="../../plugins/tinymce/tinymce.min.js"></script>
	<script type="text/javascript" src="../../plugins/tinymce/jquery.tinymce.min.js"></script>
	<script type="text/javascript" src="../../plugins/frame/js/fsDict.js?v=2.0.0"></script>
	<script type="text/javascript" src="../../plugins/frame/js/fs.js?v=2.0.0"></script>
	<script type="text/javascript" src="../../plugins/frame/js/frame.js?v=2.0.0"></script>
</head>
<body class="layui-view-body">
  <div class="layui-content">
		<div class="layui-row layui-col-space10">
			 <div class="layui-col-md12">
				<div class="layui-card">
          <div class="layui-card-header">文件上传</div>
	    		<div class="layui-card-body">
						<form class="layui-form">
							<div class="layui-form-item layui-form-text">
						    <label class="layui-form-label">附件</label>
						    <div class="layui-input-inline">
						      <input type="text" id="filePath" name="filePath" autocomplete="off" disabled="disabled" class="layui-input"/>
						    </div>
						    <div class="layui-input-inline">
								 <button type="button"  class="layui-btn layui-btn-blue" function="upload" fileElem="#filePath" fileAccept="file" fileExts="" fileSize="10240" inputs="type:test">上传附件</button>
						    </div>
						  </div>
						</form>
	    		</div>
	    	</div>
			</div>
			<div class="layui-col-md12">
			 <div class="layui-card">
				 <div class="layui-card-header">图片上传</div>
				 <div class="layui-card-body">
					 <form class="layui-form">
						 <div class="layui-form-item layui-form-text">
							 <label class="layui-form-label">图片</label>
							 <div class="layui-input-inline">
								 <input type="text" id="filePath2" name="filePath" autocomplete="off" disabled="disabled" class="layui-input"/>
							 </div>
							 <div class="layui-input-inline">
								<button type="button"  class="layui-btn layui-btn-blue" function="upload" fileElem="#filePath2" fileAccept="images" fileExts="" fileSize="10240" inputs="type:test">上传图片</button>
							 </div>
						 </div>
					 </form>
				 </div>
			 </div>
		 </div>
		 <div class="layui-col-md12">
			<div class="layui-card">
				<div class="layui-card-header">头像上传</div>
				<div class="layui-card-body">
					<form class="layui-form">
						<div class="layui-inline">
							<img id="headImage" alt="" style="width: 200px;height: 200px;" src="http://q.qlogo.cn/qqapp/101235792/5F344D27449D79D64FE873AF8E907139/100" class="layui-circle"/>
						</div>
						<div style="margin: 20px;">
							<button class="layui-btn layui-btn-primary" type="button" function="uploadHeadImage" fileElem="#headImage" onCallback="uploadImgage"><i class="layui-icon">&#xe60d;</i> 修改头像</button>
						</div>
					</form>
				</div>
			</div>
		</div>
    </div>
		</div>
	</div>
	<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "https://hm.baidu.com/hm.js?d506ef94f6ea5b1b6824728a5e476535";
	  var s = document.getElementsByTagName("script")[0];
	  s.parentNode.insertBefore(hm, s);
	})();
	</script>
</body>
</html>
